package com.zj.vo;

import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;

public class Person {
    int id;
    String name;
    String address;
    Date Birthday;
    @Autowired
    Pet cat;

    public Person() {
        System.out.println("person create");
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getBirthday() {
        return Birthday;
    }

    public void setBirthday(Date birthday) {
        Birthday = birthday;
    }

    public Pet getCat() {
        return cat;
    }

    public void setCat(Pet cat) {
        this.cat = cat;
    }
}
